package com.ruoyi.cderp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点参数设置对象 tbl_take_stock_config
 *
 * @author ruoyi
 * @date 2025-02-28
 */
public class TblTakeStockConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 库存盘点单关联盘点任务后，是否显示盘点任务中的商品数据 */
    @Excel(name = "库存盘点单关联盘点任务后，是否显示盘点任务中的商品数据")
    private Integer showProduct;

    /** 库存盘点单是否显示盘点任务创建时商品的系统库存数量 */
    @Excel(name = "库存盘点单是否显示盘点任务创建时商品的系统库存数量")
    private Integer showStock;

    /** 盘点差异生成时是否自动调整盘点任务中商品的系统库存数量 */
    @Excel(name = "盘点差异生成时是否自动调整盘点任务中商品的系统库存数量")
    private Integer autoChangeStock;

    /** 盘点差异单中的盘点数量是否允许手动修改 */
    @Excel(name = "盘点差异单中的盘点数量是否允许手动修改")
    private Integer allowChangeNum;

    /** 盘点任务创建后多少小时内内未完成，则自动作废 */
    @Excel(name = "盘点任务创建后多少小时内内未完成，则自动作废")
    private Long cancelHours;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setShowProduct(Integer showProduct)
    {
        this.showProduct = showProduct;
    }

    public Integer getShowProduct()
    {
        return showProduct;
    }
    public void setShowStock(Integer showStock)
    {
        this.showStock = showStock;
    }

    public Integer getShowStock()
    {
        return showStock;
    }
    public void setAutoChangeStock(Integer autoChangeStock)
    {
        this.autoChangeStock = autoChangeStock;
    }

    public Integer getAutoChangeStock()
    {
        return autoChangeStock;
    }
    public void setAllowChangeNum(Integer allowChangeNum)
    {
        this.allowChangeNum = allowChangeNum;
    }

    public Integer getAllowChangeNum()
    {
        return allowChangeNum;
    }
    public void setCancelHours(Long cancelHours)
    {
        this.cancelHours = cancelHours;
    }

    public Long getCancelHours()
    {
        return cancelHours;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("showProduct", getShowProduct())
                .append("showStock", getShowStock())
                .append("autoChangeStock", getAutoChangeStock())
                .append("allowChangeNum", getAllowChangeNum())
                .append("cancelHours", getCancelHours())
                .toString();
    }
}
